<html>
<head>
    <script>

        /*

        // THIS APPROACH DOES NOT WORK. When you switch from a tab to another, the url is not updated  :(

        var currentUrl = null;   // popup.html will read this value

        function saveUrl(tabId, changeInfo, tab) {
        chrome.pageAction.show(tabId);
        currentUrl = tab.url;
        };

        chrome.tabs.onUpdated.addListener(saveUrl);

        */

		</script>
</head>
</html>
